<template>
  <view style="display: flex;flex-direction:column;align-items: center;"  >
    <view style="font-size: 18px;color:red;font-weight: bolder;width: 100px;text-align: center" class="single-line-text">{{ number }}</view>
    <view style="margin-top: 4px;font-size: 14px">{{ text }}</view>
  </view>
</template>
<script setup>
const props = defineProps({
  number: {
    type: Number,
    default: 0 // 默认数字
  },
  text: {
    type: String,
    default: '我的关注' // 默认文本
  }
});
</script>


<style>

</style>